<?php
/**
 * Created by PhpStorm.
 * User: zhangligang
 * Date: 17/4/22
 * Time: 下午2:22
 */

namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 用户属性
 * Class UserAttribute
 * @package App\Http\Models
 */
class UserAttribute extends Model
{
    /**
     * table name
     * @var string
     */
    protected $table = 'app_user_attribute';

    protected $fillable = ['*'];

    public function user()
    {
        return $this->belongsTo('App\Http\Models\User', 'user_id');
    }

}